{extend name="Public:public_template" /}
{block name="container"}
<div class="main-container">
    <div class="current-location">{include file="public/current_location" /}</div>
    <form action="" name="myForm" method="post">
        <div class="content-container">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <th width="5%">序号</th>
                    <th width="15%">标题</th>
                    <th class="text-align">内容</th>
                    <th width="10%">添加时间</th>
                    <th width="10%">操作</th>
                </tr>
                {if condition="$list"}
                    {volist name="list" id="vo"}
                        <tr>
                            <td>{$vo['orderkey']}</td>
                            <td>{$vo['title']}</td>
                            <td class="text-align">{$vo['content']}</td>
                            <td>{$vo['inputtime']}</td>
                            <td>
                                <a href="{$vo['updateurl']}">编辑</a>
                                <a href="{$vo['deleteurl']}" class="delete">删除</a>
                            </td>
                        </tr>
                    {/volist}
                {else}
                    <tr>
                        <td colspan="10">没有数据哦...</td>
                    </tr>
                {/if}
            </table>
            <div class="bottom-pages">
                <div class="bottom-pages-button"></div>
                <div class="pages">{$pages}</div>
            </div>
        </div>
    </form>
</div>
{/block}